package com.google.code.sapwcrawler.urlfilter;

import java.net.URL;

public class ProtocolFilter implements URLFilter
{
	private String protocol;
	public ProtocolFilter(String protocol)
	{
		this.protocol = protocol;
	}
	
	public boolean isDownloadableURL(URL url)
	{
		return url.getProtocol().equals(protocol);
	}
}
